@if (completion()) {
    <core-course-module-completion [completion]="completion()" [moduleName]="activity().name" [moduleId]="activity().cmid"
        [showCompletionConditions]="true" [showManualCompletion]="true" (completionChanged)="onCompletionChanged()" />
}
